/*
 * MailState.h
 *
 *  Created on: 2014. 4. 4.
 *      Author: mega
 */

#ifndef MAILSTATE_H_
#define MAILSTATE_H_

namespace ProjectZ {
class User;
};

namespace ProjectZ { namespace NState {

class MailState : public User::State
{
public:
	MailState();
	virtual ~MailState();

	virtual void OnClose(User * pUser, bool bForceClose);
	virtual void OnResponse(::Database::Command * pCommand);

private:
	void	SendAckMailDeleteAll(User * pUser, int ack);
//	void	SendAckMailCount(User * pUser, int ack, int mail_count=0);
};

} /* namespace NState */ } /* namespace ProjectZ */

#endif /* MAILSTATE_H_ */
